package com.kkb.shopcenter.api;

import com.github.pagehelper.PageInfo;
import com.kkb.shopcenter.common.dto.OrderCount;
import com.kkb.shopcenter.common.dto.OrderTimeDataDto;
import com.kkb.shopcenter.common.pojo.OrderDelivery;
import com.kkb.shopcenter.common.pojo.OrderItem;
import com.kkb.shopcenter.common.pojo.SubOrderInfo;

import java.util.List;
import java.util.Map;

public interface OrderService {

    PageInfo<SubOrderInfo> queryPage(Long shopId,Integer orderStatus,Integer page,Integer size);

    List<OrderItem> getDetailInfo(Long subOrderId);

    OrderDelivery getDeliverInfo(Long subOrderId);

    List<SubOrderInfo> selectAll();

    OrderTimeDataDto orderTimeDate(Long shopId);


    OrderCount getOrderCount(Long shopId);

    Map<String,Object> chartCount(Long shopId);
}
